home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
PD
/
PROGRAMMING
/
DESKLIBC
/
SOURCES.ZIP
/
DeskLib
/
!DLSources
/
Libraries
/
MsgTrans
/
c
/
LookupPS
< prev
next >
Wrap
Text File
|
1995-07-08
|
1KB
|
35 lines
/*
#### # # # #
# # # # # The FreeWare C library for
# # ## ### # # # # ### RISC OS machines
# # # # # # # # # # # ___________________________________
# # #### ### ## # # # #
# # # # # # # # # # Please refer to the accompanying
#### ### #### # # ##### # ### documentation for conditions of use
________________________________________________________________________
File: MsgTrans.LookupPS.c
Author: Copyright © 1994 Tony Houghton
Version: 1.01 (05 Nov 1994)
Purpose: Match a token in a Messages file
*/
#include "DeskLib:MsgTrans.h"
os_error *MsgTrans_LookupPS(msgtrans_filedesc *filedesc, char *token,
char *buffer, int bufflen,
char *p0, char *p1, char *p2, char *p3)
{
os_error *swierr;
swierr = MessageTrans_Lookup(filedesc, token, &buffer, &bufflen,
p0, p1, p2, p3);
if (swierr)
return (swierr);
/* NULL-terminate string */
buffer[bufflen] = '\0';
return NULL;
}